package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_parking_spaces
 * 
 * @author ruoyi
 * @date 2024-04-04
 */
public class SysParkingSpaces extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 位置名称 */
    @Excel(name = "位置名称")
    private String name;

    /** 停车位价格 单位小时 */
    @Excel(name = "停车位价格 单位小时")
    private BigDecimal hourPrice;

    /** 楼层 */
    @Excel(name = "楼层")
    private String level;

    /** 楼层id */
    @Excel(name = "楼层id")
    private String levelId;

    /** 状态 0=空闲  1=占用  2=关闭 */
    @Excel(name = "状态 0=空闲  1=占用  2=关闭")
    private Integer status;

    /** 停车位长度 */
    @Excel(name = "停车位长度")
    private BigDecimal spacesLong;

    /** 宽度 */
    @Excel(name = "宽度")
    private BigDecimal wide;

    /** 上月空闲时间率 */
    @Excel(name = "上月空闲时间率")
    private BigDecimal free;

    /** 停车场id */
    @Excel(name = "停车场id")
    private String parkingId;

    /** 商家id */
    @Excel(name = "商家id")
    private String businessId;

    /** 删除标志 */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setHourPrice(BigDecimal hourPrice) 
    {
        this.hourPrice = hourPrice;
    }

    public BigDecimal getHourPrice() 
    {
        return hourPrice;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setLevelId(String levelId)
    {
        this.levelId = levelId;
    }

    public String getLevelId()
    {
        return levelId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSpacesLong(BigDecimal spacesLong) 
    {
        this.spacesLong = spacesLong;
    }

    public BigDecimal getSpacesLong() 
    {
        return spacesLong;
    }
    public void setWide(BigDecimal wide) 
    {
        this.wide = wide;
    }

    public BigDecimal getWide() 
    {
        return wide;
    }
    public void setFree(BigDecimal free) 
    {
        this.free = free;
    }

    public BigDecimal getFree() 
    {
        return free;
    }
    public void setParkingId(String parkingId)
    {
        this.parkingId = parkingId;
    }

    public String getParkingId()
    {
        return parkingId;
    }
    public void setBusinessId(String businessId)
    {
        this.businessId = businessId;
    }

    public String getBusinessId()
    {
        return businessId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("hourPrice", getHourPrice())
            .append("level", getLevel())
            .append("levelId", getLevelId())
            .append("status", getStatus())
            .append("spacesLong", getSpacesLong())
            .append("wide", getWide())
            .append("free", getFree())
            .append("parkingId", getParkingId())
            .append("businessId", getBusinessId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
